[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DOS Unit
File Attribute Constants
These constants are used to test, set, and clear file attribute bits
in connection with the GetFAttr, SetFAttr, FindFirst, and FindNext
procedures.
ReadOnly = $01;
Hidden = $02;
SysFile = $04;
VolumeID = $08;
Directory = $10;
Archive = $20;
AnyFile = $3F;
These constants are additive, for instance;
FindFirst('*.*', ReadOnly + Hidden, S)
will find all normal files as well as read-only files and hidden files
in the current directory. The AnyFile constant is merely the sum of
all of the attributes.
See Also:
FindFirst
FindNext
GetFAttr
SetFAttr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson